package com.mars.admin.modules.goods.entity;

import com.mars.admin.modules.base.entity.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品品牌实体
 *
 * @author Mars
 * @version 1.0
 * @date 2025-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("tb_goods_brand")
@Schema(description = "商品品牌")
public class GoodsBrand extends BaseEntity {

    /**
     * 品牌ID
     */
    @Id(keyType = KeyType.Auto)
    @Schema(description = "品牌ID", example = "1")
    private Long id;

    /**
     * 品牌名称
     */
    @Schema(description = "品牌名称", example = "北面")
    private String brandName;

    /**
     * 品牌编码
     */
    @Schema(description = "品牌编码", example = "THE_NORTH_FACE")
    private String brandCode;

    /**
     * 品牌LOGO
     */
    @Schema(description = "品牌LOGO", example = "https://example.com/logo.png")
    private String brandLogo;

    /**
     * 品牌横幅
     */
    @Schema(description = "品牌横幅", example = "https://example.com/banner.png")
    private String brandBanner;

    /**
     * 品牌描述
     */
    @Schema(description = "品牌描述", example = "全球知名户外品牌")
    private String description;

    /**
     * 官方网站
     */
    @Schema(description = "官方网站", example = "https://www.thenorthface.com")
    private String officialWebsite;

    /**
     * 排序
     */
    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

    /**
     * 是否显示：0-否，1-是
     */
    @Schema(description = "是否显示", example = "1")
    private Integer isShow;

    /**
     * 状态：0-禁用，1-正常
     */
    @Schema(description = "状态", example = "1")
    private Integer status;
}
